<ng-container *ngIf="progress?.isCompleted">
  <div class="row mb-3 animated fadeIn animated-delay-500 justify-content-between">
    <ng-tools-selector class="col-3" [selector]="selectInfo" (selected)="onSelected($event)"></ng-tools-selector>
    <div class="ml-1 mr-3">
      <button class="btn btn-sm" (click)="postFile()">导入</button>
      <button class="btn btn-sm ml-1" (click)="downloadFile()">导出</button>
      <input #fileInput type="file" (input)="selectFile($event)" style="display: none">
    </div>
  </div>

  <div class="row">
    <div class="device-list col-12">
      <ng-tools-table [table]="channelTable" [pagination]="channelPage"></ng-tools-table>
    </div>
  </div>
</ng-container>
<ng-tools-modal #modal></ng-tools-modal>
